﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DongFangGuoKai.WMSPlatform.Core.Migrations
{
    public partial class M22 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<DateTime>(
                name: "CreateDate",
                table: "t_CabinetCellTemp",
                type: "datetime",
                nullable: true,
                defaultValueSql: "(getdate())",
                comment: "创建时间");

            migrationBuilder.AddColumn<int>(
                name: "Status",
                table: "t_CabinetCellTemp",
                type: "int",
                nullable: false,
                defaultValue: 0,
                comment: "状态");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CreateDate",
                table: "t_CabinetCellTemp");

            migrationBuilder.DropColumn(
                name: "Status",
                table: "t_CabinetCellTemp");
        }
    }
}
